﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using WMSSoft.Lib.WinKStart.Abstract;

namespace WMSSoft.Lib.WinKStart.ViewModel
{
    public class CSingleSettingOptionViewModel : CViewModelBase
    {
        public FontWeight Weight { get; protected set; }
        public List<CSingleSettingOptionViewModel> Items { get; protected set; }
        public string ViewPathName { get; protected set; }
        public CViewModelBase ViewModel { get; protected set; }

        public CSingleSettingOptionViewModel()
        {

        }

        public CSingleSettingOptionViewModel(string ViewName, string ViewPath, CViewModelBase oViewModel)
        {
            base.ViewName = ViewName;
            ViewPathName = ViewPath;
            ViewModel = oViewModel;
        }

        public CSingleSettingOptionViewModel(string ViewName, string ViewPath, CViewModelBase oViewModel, FontWeight oWeight, List<CSingleSettingOptionViewModel> oItems = null)
        {
            base.ViewName = ViewName;
            ViewPathName = ViewPath;
            Weight = oWeight;
            Items = oItems;
            ViewModel = oViewModel;
        }
    }
}
